package com.qinggeng.project.system.service.impl;

import com.qinggeng.project.system.domain.Courier;
import com.qinggeng.project.system.mapper.CourierMapper;
import com.qinggeng.project.system.service.ICourierService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CourierServiceImpl implements ICourierService {

    @Resource
    private CourierMapper courierMapper;


    @Override
    public Courier getCourierByOrdersId(Long ordersId) {
        return courierMapper.getCourierByOrdersId(ordersId);
    }

    @Override
    public List<Courier> listCourier() {
        return courierMapper.listCourier();
    }
}
